package com.inspur.cloud.dao.ambari;

import com.inspur.cloud.entity.ambari.ComponentStateEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ComponentStateDao extends JpaRepository<ComponentStateEntity, Integer>, JpaSpecificationExecutor<ComponentStateEntity> {
    List<ComponentStateEntity> findByComponentName(String componentName);
}
